<!--
 * @Author: your name
 * @Date: 2021-03-23 10:06:29
 * @LastEditTime: 2021-03-26 16:46:21
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \exc（1）\demo\src\views\change_pwd.vue
-->
<template>
  <div>
      <div id="changepwd">
          <div id="changepwd_first">
              <p @click="back">《</p>
              <h4 id="changepwd_title">修改密码</h4>
          </div>
          <input type="text" placeholder="请输入当前登录密码">
          <input type="text" placeholder="输入新密码">
          <input type="text" placeholder="确认新密码"/>
          <p id="changepwd_p">必须是6-20个英文字母，数字或英文(除空格)，且字母数字和
             标点符号至少包含两种(随便输)</p>
          <button id="changepwd_next" @click="next">下一步</button>
      </div>
  </div>
</template>

<script>
export default {
    methods:{
        back(){
            this.$router.push('/login')
        },
        next(){
            this.$router.push('/login')
        }
    }
}
</script>

<style>
    #changepwd{
        width: 400px;
        height: 700px;
        background: rgb(241, 238, 238);
        margin: 0 auto;
    }
    #changepwd_first{
        width: 400px;
        height: 40px;
        /* border: 1px solid grey; */
        display: flex;
    }
    #changepwd_first p,#changepwd_title{
        margin-top: 16px;
    }
    #changepwd_p{
        font-size: 12px;
        color: grey;
        margin-left: 30px;
        margin-top: 5px;
    }
    #changepwd_title{
        margin-left: 160px;
    }
    #changepwd input{
        width: 400px;
        height: 50px;
        margin-top: 10px;
    }
    /* 输入框字体 */
    #changepwd input::-webkit-input-placeholder{
        padding-left: 30px;
        font-size: 14px;
    }
    #changepwd input,#changepwd_next{
        outline: none;
        border: none;
    }
    #changepwd_next{
        width: 300px;
        height: 40px;
        border-radius: 20px;
        background: rgb(236, 84, 84);
        color: white;
        margin-left: 50px;
        margin-top: 20px;
        box-shadow: 0px 1px 2px black;
    }
</style>